package com.bluegalaxy.sitescore.mapper;

import com.bluegalaxy.sitescore.entity.SurfaceWaterGW;
import com.bluegalaxy.sitescore.entity.TbScore;
import com.bluegalaxy.sitescore.entity.TbGroundWaterToSw;
import com.baomidou.mybatisplus.mapper.AutoMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * TbGroundWaterToSw 表数据库控制层接口
 *
 */
public interface TbGroundWaterToSwMapper extends AutoMapper<TbGroundWaterToSw> {

    boolean insertGetId(TbGroundWaterToSw tbGroundWaterToSw);

    boolean updateGroundWater(TbGroundWaterToSw tbGroundWaterToSw);

    List<TbScore> getList(@Param("sourceId")int sourceId);

    SurfaceWaterGW getGroundSurfaceById(@Param("id")int id);

    boolean delSurfaceWaterGW(@Param("id")int id, @Param("sourceId")int sourceId);
}